﻿<%@ Page Language="C#" MasterPageFile="~/Index.master" AutoEventWireup="true" CodeFile="userCenter.aspx.cs" Inherits="userCenter" Title="用户中心" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

    <script src="js/prototype.lite.js" type="text/javascript"></script>
    <script src="js/moo.fx.js" type="text/javascript"></script>
    <script src="js/moo.fx.pack.js" type="text/javascript"></script>
    <style type="text/css">
     #container {
	    width: 182px;
     }
     h1 {
	    font-size: 12px;
	    margin: 0px;
	    width: 182px;
	    cursor: pointer;
	    height: 30px;
	    line-height: 20px;	
     }
     h1 a {
	    display: block;
	    width: 182px;
	    color: #000000;
	    height: 30px;
	    text-decoration: none;
	    background-image: url(image/menu_bgS.gif);
	    background-repeat: no-repeat;
	    line-height: 30px;
	    text-align: center;
	    margin: 0px;
	    padding: 0px;
     }
     .content{
	    width: 182px;
	    height: 26px;
    	
     }
     .MM ul {
	    list-style-type: none;
	    margin: 0px;
	    padding: 0px;
	    display: block;
     }
     .MM li {
	    font-family: Arial, Helvetica, sans-serif;
	    font-size: 12px;
	    line-height: 26px;
	    color: #333333;
	    list-style-type: none;
	    display: block;
	    text-decoration: none;
	    height: 26px;
	    width: 182px;
	    padding-left: 0px;
     }
     .MM {
	    width: 182px;
	    margin: 0px;
	    padding: 0px;
	    left: 0px;
	    top: 0px;
	    right: 0px;
	    bottom: 0px;
	    clip: rect(0px,0px,0px,0px);
     }
    .MM a:link {
	    font-family: Arial, Helvetica, sans-serif;
	    font-size: 12px;
	    line-height: 26px;
	    color: #333333;
	    background-image: url(image/menu_bg1.gif);
	    background-repeat: no-repeat;
	    height: 26px;
	    width: 182px;
	    display: block;
	    text-align: center;
	    margin: 0px;
	    padding: 0px;
	    overflow: hidden;
	    text-decoration: none;
    }
    .MM a:visited {
	    font-family: Arial, Helvetica, sans-serif;
	    font-size: 12px;
	    line-height: 26px;
	    color: #333333;
	    background-image: url(image/menu_bg1.gif);
	    background-repeat: no-repeat;
	    display: block;
	    text-align: center;
	    margin: 0px;
	    padding: 0px;
	    height: 26px;
	    width: 182px;
	    text-decoration: none;
    }
    .MM a:active {
	    font-family: Arial, Helvetica, sans-serif;
	    font-size: 12px;
	    line-height: 26px;
	    color: #333333;
	    background-image: url(image/menu_bg1.gif);
	    background-repeat: no-repeat;
	    height: 26px;
	    width: 182px;
	    display: block;
	    text-align: center;
	    margin: 0px;
	    padding: 0px;
	    overflow: hidden;
	    text-decoration: none;
    }
    .MM a:hover {
	    font-family: Arial, Helvetica, sans-serif;
	    font-size: 12px;
	    line-height: 26px;
	    font-weight: bold;
	    color: #006600;
	    background-image: url(image/menu_bg2.gif);
	    background-repeat: no-repeat;
	    text-align: center;
	    display: block;
	    margin: 0px;
	    padding: 0px;
	    height: 26px;
	    width: 182px;
	    text-decoration: none;
    }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="main" Runat="Server">
    <div>
    <div title="left" style="width:190px; float:left;">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" style="height:645px;background-color:#EEF2FB;">
          <tr>
            <td style="width:182px" valign="top"><div id="container">
              <h1 class="type"><a style="text-decoration:none; font:black" href="javascript:void(0)"><font color="black" ><b>
                  账户管理</b></font></a></h1>
              <div class="content">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><img alt="" src="image/menu_topline.gif" width="182" height="5" /></td>
                  </tr>
                </table>
                <ul class="MM">
                  <li><a href="user_Infor.aspx"  target="Right">基本信息</a></li>
                  <li><a href="user_EditPassword.aspx" target="Right">密码修改</a></li>
                  <li><a href="" target="Right">收件地址</a></li>
                </ul>
              </div>
              <h1 class="type"><a style="text-decoration:none; font:black" href="javascript:void(0)"><font color="black" ><b>
                  我是买家</b></font></a></h1>
              <div class="content">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><img alt="" src="image/menu_topline.gif" width="182" height="5" /></td>
                  </tr>
                </table>
                <ul class="MM">
                  <li><a href="user_OrderList.aspx" target="Right">已买到</a></li>
                  <li><a href="../shoppingCar.aspx" target="_blank">购物车</a></li>
                </ul>
              </div>
              <h1 class="type"><a style="text-decoration:none; font:black" href="javascript:void(0)"><font color="black" ><b>
                  我是卖家</b></font></a></h1>
              <div class="content">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><img alt="" src="image/menu_topline.gif" width="182" height="5" /></td>
                  </tr>
                </table>
                <ul class="MM">
		          <li><a href="seller_product_edit.aspx" target="Right">浏览产品</a></li>
                  <li><a href="seller_product_add.aspx" target="Right">添加产品</a></li>
                  <li><a href="seller_order_edit.aspx" target="Right">我的订单</a></li>
                </ul>
              </div>
              <script type="text/javascript">
		        var contents = document.getElementsByClassName('content');
		        var toggles = document.getElementsByClassName('type');
        	
		        var myAccordion = new fx.Accordion(
			        toggles, contents, {opacity: true, duration: 400}
		        );
		        myAccordion.showThisHideOpen(contents[0]);
	        </script>
	        </div>
            </td>
          </tr>
        </table>
    </div>
    <div title="right" style="width:750px; float:right">
        <table width="100%" style="height:600px"  border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td valign="top" style="width:17px;background:url(image/mail_leftbg.gif)" ><img alt="" src="image/left-top-right.gif" width="17" height="29" /></td>
            <td valign="top" style="background:url(image/content-bg.gif)">
            </td>
            <td valign="top" style=" width:16px;background:url(image/mail_rightbg.gif)" ><img alt="" src="image/nav-right-bg.gif" width="16" height="29" /></td>
          </tr>
          <tr>
            <td valign="middle" style="background:url(image/mail_leftbg.gif)"></td>
            <td valign="top" style="background-color:#F7F8F9">
             <div style="height:600px; width:100%"> 
               <iframe id="Right" width="100%" height="100%" frameborder="0" ></iframe>
             </div>
            </td>
            <td style="background:url(image/mail_rightbg.gif)">&nbsp;</td>
          </tr>
          <tr>
            <td valign="bottom" style="background:url(image/mail_leftbg.gif)"><img alt="" src="image/buttom_left2.gif" width="17" height="17" /></td>
            <td style="background:url(image/buttom_bgs.gif)"><img alt="" src="image/buttom_bgs.gif" width="17" height="17" /></td>
            <td valign="bottom" style="background:url(image/mail_rightbg.gif)"><img alt="" src="image/buttom_right2.gif" width="16" height="17" /></td>
          </tr>
        </table>
    </div>
  </div>
</asp:Content>

